#include <Windows.h>
#include "CSixtySevenPacket.h"

CSixtySevenPacket::CSixtySevenPacket(CChar * schar) {

	memset(this->data, 0,  0x14*2);
	this->type = 0x67;
	this->size = 0x14;
	
	data[0] = 0x02;
	data[1] = 0x09;

	unsigned short targId = schar->getTargId();
	memcpy(this->data+0x02, &targId, 2);
	memcpy(this->data+0x04, &(schar->m_id), sizeof(schar->m_id));
	this->data[0x21] = schar->m_lvlMain;

}

CSixtySevenPacket::~CSixtySevenPacket() {

}